package o2o.dao.VO.statis;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 店铺营业信息
 */
@Setter
@Getter
@Accessors(chain = true)
public class ShopTradeInfoVo {

    private Double allPayMoney = 0D;    // 总的支付金额
    private Double allPayPrice = 0D;    // 扣除折扣之前的费用
    private int orderCounts = 0;        // 有效订单量
    private int orderCounts2 = 0;       // 总的订单量
    private int refundApplyCount = 0;   // 退款订单量
    private Double refundApplyMoney = 0D;    // 退款金额
    private Double cityAgentMoney = 0D;      // 城代金额
    private Double shopAwardMoney = 0D;      // 店铺补贴金额
    private Double platformAwardMoney = 0D;  // 平台补贴金额
    private Double postmanMoney = 0D;        // 配送费收入
    private Double postmanMoneyTwo = 0D;        // 配送费收入(二级)
    private Double postCompanyMoney = 0D;        // 配送公司收入
    private Double squareMoney = 0D;        // 创业商圈
    private Double deliveryPrice = 0D;        // 配送费
    private Double originalYunFeiShop = 0D;        // 商家优惠配送费
    private Double originalYunFei = 0D;        // 总配送费
    private Double originalYunFeiTwo = 0D;        // 总配送费(二级)
    private Double shopMoney = 0D;           // 归属商户费用
    private Double platformMoney = 0D;        // 平台分成
    private String oriDate;                 // 日期
    private Integer userCount = 0;              // 下单用户数
    private Double packetPrice = 0D;        // 打包费
    private Double totalGoodsMoney = 0D;        // 商品总金额
    private Double zfbPrice = 0D;        // 支付宝总金额
    private Double wxPrice = 0D;        // 微信总金额
    private Double transitPrice = 0D;       // 信用卡支付
    private Double walletPrice = 0D;        // 余额支付
    private Double paypalPrice = 0D;        // paypal支付
    private Double stripePrice = 0D;        // stripe支付
    private Double othPrice = 0D;           // 其他支付
    private Double agentManagerMoney = 0D;        // 区域主管分成

    private Double cityAdminAward = 0D;      // 城代补贴
    private Double cityAdminMoney1 = 0D;              // 代理收益
    private Double cityAdminMoney2 = 0D;              // 代理收益
    private Double cityAdminMoney3 = 0D;              // 代理收益
    private Double cityAdminMoney4 = 0D;              // 代理收益
    private Double cityAdminAward1 = 0D;              // 代理补贴
    private Double cityAdminAward2 = 0D;              // 代理补贴
    private Double cityAdminAward3 = 0D;              // 代理补贴
    private Double cityAdminAward4 = 0D;              // 代理补贴

    // Jahnke 2020年11月23日 16:55:45
    private Double disCommisionMoney = 0D;            // 分享佣金总额
    private Double platformMoneyNotDis = 0D;          // 平台收入减去分享佣金

    public Double getPlatformMoneyNotDis() {
        return platformMoney > disCommisionMoney ? platformMoney - disCommisionMoney : 0D;
    }
}
